import AppError from './AppError.js';
import { HTTP_STATUS } from '#src/constants/http.constants.js';

class ForbiddenError extends AppError {
  constructor(message = 'Access forbidden') {
    super(message, HTTP_STATUS.FORBIDDEN);
    this.name = 'ForbiddenError';
  }
}

export default ForbiddenError;